<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>后台管理系统</title>
<link href="../Public/admin/css/golbal.css" rel="stylesheet" type="text/css" />
<link href="../Public/admin/css/webcon.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="tittle">
<span>关键词配置</span><a href="{:U('Keyword/index')}">返 回</a>
</div>
<div class="detab">
<form action="{:U('Keyword/editcate',array('keyid'=>$info['keyid']))}" method="post">
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<if condition="($erorsta eq 1)">
	<tr>
		<td colspan='2' style="text-align:center; color:red;">{$error}</td>
	</tr>
</if>
<tr>
<td  height="40" width="150"><span class="title">搜索热门关键字：</span></td>
<td colspan="2"><input onkeyup="value=value.replace(/\s/g,'')" maxlength="4" type="text" name='keyword' value="{$info['keyword']}" style='border:1px solid #ccc;height:20px;line-height:20px'/></td>
</tr>

<tr>
<td  height="40" width="150"><span class="title">热门关键字排序：</span></td>
<td colspan="2"><input onkeyup="value=value.replace(/[^\d]/g,'')"
      onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" type="text" name='orders' value="{$info['orders']}" style='border:1px solid #ccc;height:20px;line-height:20px'/></td>
</tr>

<tr>
<td  height="40" width="150"><span class="title">热门关键字分类：</span></td>
<td colspan="2">
<select id="category" name="category" >
<option value="0" <if condition="$info['category'] eq 0">selected="selected"</if>>全站</option>
<option value="1" <if condition="$info['category'] eq 1">selected="selected"</if>>图片</option>
<option value="2" <if condition="$info['category'] eq 2">selected="selected"</if>>视频</option>
<option value="3" <if condition="$info['category'] eq 3">selected="selected"</if>>动画</option>
<option value="4" <if condition="$info['category'] eq 4">selected="selected"</if>>游戏</option>
<option value="5" <if condition="$info['category'] eq 5">selected="selected"</if>>文章</option>
<option value="7" <if condition="$info['category'] eq 7">selected="selected"</if>>图书</option>
</select>
</td>
</tr>

<tr>
<td height="100"></td>
<td colspan="2" style="text-align:center; margin:0 auto" ><input type="submit" class="save_bt" value=""/></td>
<td></td>
</tr>
</tbody>
</table></form></div>
</body>
</html>
